//
//  CZTextView.swift
//  项目框架
//
//  Created by yang on 16/3/5.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class CZTextView: UITextView {

    var holderString:NSString?
    
    override func drawRect(rect: CGRect) {
        
        //一定要注意,textView必须得有 font
        holderString?.drawAtPoint(CGPointMake(2, 8), withAttributes: [NSFontAttributeName:font!])
    }

}
